<template>
  <div>
    <el-table
      :data="tableData"
      border
      style="width: 100%"
      size="mini"
    >
      <el-table-column
        prop="date"
        label="日期"
        width="180"
      />
      <el-table-column
        prop="name"
        label="测点名称"
        width="180"
      />
      <el-table-column
        prop="address"
        label="地址"
      />
      <el-table-column
        prop="x"
        label="DX东向(mm)"
      />
      <el-table-column
        prop="y"
        label="DY北向(mm)"
      />
      <el-table-column
        prop="h"
        label="DH垂直(mm)"
      />
      <el-table-column
        prop="D2"
        label="2D平面(mm)"
      />
      <el-table-column
        prop="D3"
        label="3D平面(mm)"
      />
      <el-table-column
        prop="ax"
        label="ΔX速率(mm/h"
      />
      <el-table-column
        prop="ay"
        label="ΔY速率(mm/h)"
      />
      <el-table-column
        prop="ah"
        label="ΔH速率(mm/h)"
      />
    </el-table>
    <el-pagination
      :current-page="currentPage4"
      :page-size="10"
      layout="total, prev, pager, next, jumper"
      :total="400"
      style="float:right"
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
    />
  </div>
</template>
<script>
export default {
  data() {
    return {
      tableData: [{
        date: '2016-05-02',
        name: '工厂1',
        address: '普陀区金沙江路 1518 弄',
        x: -1,
        y: 2,
        h: 1,
        D2: 0.5,
        D3: 8.5,
        ax: 0.19,
        ay: 0.19,
        ah: 0.81
      }, {
        date: '2016-05-04',
        name: '工厂2',
        address: '普陀区金沙江路 1517 弄',
        x: -1,
        y: 2,
        h: 1,
        D2: 0.5,
        D3: 8.5,
        ax: 0.19,
        ay: 0.19,
        ah: 0.81
      }, {
        date: '2016-05-01',
        name: '工厂3',
        address: '普陀区金沙江路 1519 弄',
        x: -1,
        y: 2,
        h: 1,
        D2: 0.5,
        D3: 8.5,
        ax: 0.19,
        ay: 0.19,
        ah: 0.81
      }, {
        date: '2016-05-03',
        name: '工厂4',
        address: '普陀区金沙江路 1516 弄',
        x: -1,
        y: 2,
        h: 1,
        D2: 0.5,
        D3: 8.5,
        ax: 0.19,
        ay: 0.19,
        ah: 0.81
      },
      {
        date: '2016-05-03',
        name: '工厂5',
        address: '普陀区金沙江路 1516 弄',
        x: -1,
        y: 2,
        h: 1,
        D2: 0.5,
        D3: 8.5,
        ax: 0.19,
        ay: 0.19,
        ah: 0.81
      },
      {
        date: '2016-05-03',
        name: '工厂6',
        address: '普陀区金沙江路 1516 弄',
        x: -1,
        y: 2,
        h: 1,
        D2: 0.5,
        D3: 8.5,
        ax: 0.19,
        ay: 0.19,
        ah: 0.81
      },
      {
        date: '2016-05-03',
        name: '工厂7',
        address: '普陀区金沙江路 1516 弄',
        x: -1,
        y: 2,
        h: 1,
        D2: 0.5,
        D3: 8.5,
        ax: 0.19,
        ay: 0.19,
        ah: 0.81
      },
      {
        date: '2016-05-03',
        name: '工厂8',
        address: '普陀区金沙江路 1516 弄',
        x: -1,
        y: 2,
        h: 1,
        D2: 0.5,
        D3: 8.5,
        ax: 0.19,
        ay: 0.19,
        ah: 0.81
      },
      {
        date: '2016-05-03',
        name: '工厂9',
        address: '普陀区金沙江路 1516 弄',
        x: -1,
        y: 2,
        h: 1,
        D2: 0.5,
        D3: 8.5,
        ax: 0.19,
        ay: 0.19,
        ah: 0.81
      },
      {
        date: '2016-05-03',
        name: '工厂10',
        address: '普陀区金沙江路 1516 弄',
        x: -1,
        y: 2,
        h: 1,
        D2: 0.5,
        D3: 8.5,
        ax: 0.19,
        ay: 0.19,
        ah: 0.81
      }]
    }
  }
}
</script>
